package com.carrot.newsgallery.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carrot.newsgallery.entity.NewsMain;

import java.util.List;

public interface NewsMainService extends IService<NewsMain> {

    List<NewsMain> getToday();

    List<NewsMain> getHistory(String date, int batch);

}
